Platform Explorer / Nuxeo Platform 2021.24

Contribution org.nuxeo.ecm.user.center.profile.layouts--widgettypes

This contribution is part of XML component org.nuxeo.ecm.user.center.profile.layouts inside nuxeo-user-profile-jsf-2021.24.3.jar /OSGI-INF/layouts-contrib.xml

Extension Point

Extension point widgettypes of component WebLayoutManager.

Registration Order

28
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widgetType name="summary_user_profile">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <deprecatedVersion>5.9.2</deprecatedVersion>
            <title>User Profile Summary</title>
            <description>
              <p>This widget displays the user profile layout.</p>
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
            <properties>
              <defaultValues mode="any">
                <property name="name">user,userprofile</property>
              </defaultValues>
            </properties>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.LayoutWidgetTypeHandler
          </handler-class>
        </widgetType>
  • <widgetType name="avatar">
          <configuration>
            <sinceVersion>5.5</sinceVersion>
            <title>User Profile Avatar</title>
            <description>
              Widget allowing to upload a picture for the user
              avatar.
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/avatar_widget_template.xhtml
          </property>
        </widgetType>

    Widget allowing to upload a picture for the user avatar.

  • <widgetType name="summary_user_preferences">
          <configuration>
            <sinceVersion>5.6</sinceVersion>
            <title>User Profile Summary</title>
            <description>
              <p>This widget displays the user preferences layout.</p>
            </description>
            <categories>
              <category>configuration_not_ready</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/summary/user_preferences_widget_template.xhtml
          </property>
        </widgetType>

XML Source

<extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widgetType name="summary_user_profile">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <deprecatedVersion>5.9.2</deprecatedVersion>
        <title>User Profile Summary</title>
        <description>
          <p>This widget displays the user profile layout.</p>
        </description>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
        <properties>
          <defaultValues mode="any">
            <property name="name">user,userprofile</property>
          </defaultValues>
        </properties>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.LayoutWidgetTypeHandler
      </handler-class>
    </widgetType>

    <widgetType name="avatar">
      <configuration>
        <sinceVersion>5.5</sinceVersion>
        <title>User Profile Avatar</title>
        <description>
          Widget allowing to upload a picture for the user
          avatar.
        </description>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/avatar_widget_template.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_user_preferences">
      <configuration>
        <sinceVersion>5.6</sinceVersion>
        <title>User Profile Summary</title>
        <description>
          <p>This widget displays the user preferences layout.</p>
        </description>
        <categories>
          <category>configuration_not_ready</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/user_preferences_widget_template.xhtml
      </property>
    </widgetType>
  </extension>